#include "suredelaccount.h"
#include "ui_suredelaccount.h"

SureDelAccount::SureDelAccount(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::SureDelAccount)
{
    ui->setupUi(this);
}

SureDelAccount::~SureDelAccount()
{
    delete ui;
}

void SureDelAccount::recShowSureDelAccount()
{
    this->show();
}

void SureDelAccount::on_yes_clicked()
{
    emit this->sendSureDelAccountToMe(); //发送信号确定注销账号
    this->hide();
}

void SureDelAccount::on_no_clicked()
{
    this->hide();
}
